import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/cupertino.dart';

class TaskState implements Cloneable<TaskState> {
  double appBarAlpha;
  bool valueSwitch;
  double alignmentY;

  @override
  TaskState clone() {
    return TaskState()
      ..appBarAlpha = appBarAlpha
      ..valueSwitch = valueSwitch
      ..alignmentY = alignmentY

    ;
  }
}

TaskState initState(Map<String, dynamic> args) {
  return TaskState()
    ..appBarAlpha = 0
    ..valueSwitch = false
    ..alignmentY = -1.0
  ;
}
